Class Functions.FunctionForMapNoDefault<K,​V>

  • All Implemented Interfaces:
    Function<K,​V>, java.io.Serializable
    Enclosing class:
    Functions

    private static class Functions.FunctionForMapNoDefault<K,​V>
    extends java.lang.Object
    implements Function<K,​V>, java.io.Serializable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.Map<K,​V> map  
      private static long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V apply​(K key)  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • map

        final java.util.Map<K,​V> map
    • Constructor Detail

      • FunctionForMapNoDefault

        FunctionForMapNoDefault​(java.util.Map<K,​V> map)
    • Method Detail

      • apply

        public V apply​(K key)
        Specified by:
        apply in interface Function<K,​V>
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface Function<K,​V>
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object